Add cps_2024.h5 to HuggingFace upload list#502
Merged
Conversation
The raw (unenhanced) CPS 2024 dataset was never being uploaded to HuggingFace — only enhanced_cps_2024.h5 and small_enhanced_cps_2024.h5 were included. This means downstream consumers couldn't access the raw CPS for the 2024 ASEC survey year. Closes #501 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
CPS_2024.file_path(cps_2024.h5) to the HuggingFace upload list inupload_completed_datasets.pyCPS_2024class andCensusCPS_2024(2024 ASEC / March 2025 survey), but the upload script was never updated to include the raw CPS datasetenhanced_cps_2024.h5andsmall_enhanced_cps_2024.h5were being uploaded — the unenhancedcps_2024.h5was missing from HuggingFaceWhy this matters
For the SPM child poverty decomposition, we need both the raw and enhanced CPS for 2024 to cleanly decompose the gap between Census-published child poverty (13.4%) and PolicyEngine's estimate (22.6%). Without
cps_2024.h5on HuggingFace, we had to usecps_2023.h5(different survey year) as a workaround.Test plan
cps_2024.h5appears on HuggingFace after next dataset buildMicrosimulation(dataset="hf://policyengine/policyengine-us-data/cps_2024.h5")worksCloses #501
🤖 Generated with Claude Code